#include <iostream>
using namespace std;

class A
{
public:
	virtual void func(int val = 1){ std::cout<<"A->"<< val <<std::endl;}
	//virtual void test(){ func();}
  int a = 0;
};

class B : public A
{
public:
	void func(int val=0){ std::cout<<"B->"<< val <<std::endl; }
};

int main()
{
  cout << sizeof(A) << endl;
	return 0;
}
